package org.mm.xml.entities;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;


/**
 *  UserXML
 *
 * @author Marco Traversari
 * @version $Revision: $ $Date: $ $Author: $
 */
@XmlTransient
public abstract class UserXML {

	protected Long userId = null;

	protected String userName = null;

	protected String firstName = null;

	protected String lastName = null;

	protected String phone = null;

	protected String email = null;

	protected RoleXML role = null;

	/**
	 * getUserId
	 * @return userId
	 */
	@XmlAttribute
	public Long getUserId() {
		return userId;
	}

	/**
	 * setUserId
	 * @param userId
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/**
	 * getRole
	 * @return role
	 */
	public RoleXML getRole() {
		return role;
	}

	/**
	 * setRole
	 * @param role
	 */
	public void setRole(RoleXML role) {
		this.role = role;
	}

	/**
	 * getUsername
	 * @return username
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * setUsername
	 * @param username
	 */
	public void setUserName(String username) {
		this.userName = username;
	}

	/**
	 * getFirstName
	 * @return firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * setFirstName
	 * @param firstName
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * getLastName
	 * @return lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * setLastName
	 * @param lastName
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * getPhone
	 * @return phone
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * setPhone
	 * @param phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * getEmail
	 * @return email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * setEmail
	 * @param email
	 */
	public void setEmail(String email) {
		this.email = email;
	}

}
